<?php $this->start('admin_menu')?>
	<?php echo $this->element('admin_menu', array('str_item' => 'settings')) ?>
<?php $this->end(); ?>
<div class="permissions index">
	<h2><?php echo __('Permissions'); ?></h2>
	<table cellpadding="0" cellspacing="0" class="table-listing">
		<tr>
				<th style="text-align:center;"></th>
				<?php foreach($roles as $role): ?>
				<th style="text-align:center;"><?php echo $role['Role']['name'] ?></th>
				<?php endforeach; ?>
		</tr>
		<?php foreach($actions as $action): ?>
		<tr>
				<td style="text-align:center;width:20%; font-weight:bold;"><?php echo $action['Action']['name'] ?></td>
				<?php foreach($roles as $role): ?>
					<td style="text-align:center;">
						<input type="checkbox" />
					</td>
				<?php endforeach; ?>
		</tr>
		<?php endforeach; ?>
	</table>
</div>

